package com.zjitc.dao;

import com.zjitc.model.Backstage;
import com.zjitc.model.Pay;
import com.zjitc.model.Product;
import com.zjitc.model.User;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/31 15:01
 * @description:
 */
public interface BackstageDao {

  int checkUser(String backstagename);

  User findBybackstageNameAndbackstagePassword(@Param("backstagename") String backstagename,
      @Param("backstagepassword") String backstagepassword);

  List<Product> backstageshowProduct();

  List<User> findAllUser();

  void backstagedelete(Integer id);

  void userdelete(Integer id);

  List<Pay> findMyPay();

  void paydelete(Integer id);
}
